import request from "../utils/request";

// 登录
export function userLogin(data) {
    return request.postWay("/login", data)
}

//验证码 
export function code(data) {
    return request.postWay("/sendEmail", data)
}

// 注册
export function userRegister(data) {
    return request.postWay("/register", data)
}